//-
//- Copyright (c) Microsoft. All rights reserved.
//- Licensed under the MIT license. See LICENSE file in the project root for full license information.
//-

extends ../../layout

block content
  .container
    .row: .col-sm-12
      .nav
        ul.pager.zero-pad-bottom
          li.previous
            a(href='/' + organization.name + '/repos/' + repository.name)
              span(aria-hidden=true) &larr;
              = ' Back to the ' + repository.name + ' repository'

    .row: .col-sm-12
      h1 Published #{context.packageVersionedName}

      if log
        ul
          each l in log
            if l
              li= l

      if context && context.package && context.package.name
      p: a.btn.btn-sm.btn-muted(href='https://npmjs.org/package/' + context.package.name)= 'View ' + context.package.name
